import {
  createRouter,
  createWebHistory,
  createWebHashHistory,
} from "vue-router";
import Home from "../page/Home/Home/Home.vue";
const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
    children: [
      {
        path: "/",
        name: "GirdPage",
        component: () => import("../page/Home/GirdPage/GirdPage.vue"),
      },
      {
        path: "/Strihp",
        name: "StrihpPage",
        component: () => import("../page/Home/StrihpPage/StrihpPage.vue"),
      },
    ],
  },
];

const router = createRouter({
  // history: createWebHistory(process.env.BASE_URL),
  history: createWebHashHistory(),
  routes,
});

export default router;
